Hewlett Packard LaserJet Printers using run-length encoding  (Series III onwards)
B
gHpljp()
Hewlett Packard LaserJet Printers using compressed encoding  (Series IIP)
C
gHplj()
Hewlett Packard LaserJet Printers using uncompressed encoding  (Series I & II)
D
gHplj6()
600cpi Hewlett Packard LaserJet Printers using run-length encoding  (Series IV onwards)
Device Characteristics
A, B and C
D
Max. X Dimension (mm)
388.6
253.9
Max. Y Dimension (mm)
266.0
196.7
Default X Dimension (mm)
280.4
280.4
Default Y Dimension (mm)
196.7
196.7
Resolution (dpi)
300
600
Devices A to D
Colours / Pens
0 (erase) & 16 dithered greys
Broken Linestyles
No
Thick Lines
No
Line Ends
No
Arcs
No
Symbols
No
Fonts
No
Character Sizes
4 Pseudo-hardware in multiples of 1.5mm square
Character Angles
0 or 90
Italic Characters
No
Polygonal Filling
No
Image Handling
Yes but not when using Intermediate Vector File
Driver Availability
The HPLJ series of drivers are used for output to laser printers and are only available under Linux, UNIX and OpenVMS.  To direct graphics to this type of device under Windows, the standard printer dialog is accessed by using one of the printer routines in the gMwin driver; gMwinp, gMwindp, gMwinpp (see gMwinp) or in the gWogl driver; gWoglp, gWogldp, gWoglpp (see gWoglp).
Paper Size and Tray Selection
Where multiple paper trays or paper sizes are available on the nominated printer to which the HPLJ file is sent, the type argument to the routine gSetDrawingLimits() can be used to make the desired selection.
Values 1-99 select a paper/envelope size according to the PCL list which includes:
1 = executive
2 = letter
3 = legal
26 = A4
Values 100,200,300,400,500 and 600 select the paper source according to the PCL list which includes:
100 = First tray
200 = Manual feed - paper
300 = Manual feed - envelope
Note that this list may vary from printer to printer and version of PCL.
Formfeed at End of Output
The following configuration setting can be made to suppress the formfeed at gCloseDevice():
HPLJNOFEED=YES
Suppresses the formfeed character sent at gCloseDevice() for use when form feed is already sent by the print spooler.